checksum-utils: Add an assertion that `buf != NULL`
authorColin Walters <walters@verbum.org>
Wed, 26 Jul 2023 22:05:36 +0000 (18:05 -0400)
committerColin Walters <walters@verbum.org>
Wed, 26 Jul 2023 22:09:28 +0000 (18:09 -0400)
commit5b37259607e476de178fc20753b1083ee89448bf
treea1f63cb640695be33ba9fd5d324c92a8f60b2bd9
parent0392b5460276748576da5b4fbc00a361d847b4e3
checksum-utils: Add an assertion that `buf != NULL`

Another hardening against https://bugzilla.redhat.com/show_bug.cgi?id=2217401
src/libotutil/ot-checksum-utils.c